package com.im.project.entity.vo;

import com.im.project.entity.ChatMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 离线消息对象
 *
 * @author yunZhouJiaDi
 */
@Data
@Accessors(chain = true)
public class WsInitDataVo {

    @ApiModelProperty("接受者id")
    private String toId;

    @ApiModelProperty("接受者会话列表")
    private List<ChatUserVo> chatUserList;

    @ApiModelProperty("离线消息列表")
    private List<ChatMessage> ChatMessageList;

    @ApiModelProperty("离线申请数量")
    private Integer applyCount;

    @ApiModelProperty("已读联系人id列表")
    private List<String> contactReadList;

    @ApiModelProperty("删除的会话id缓存列表")
    private List<String> chatIdList;

    @ApiModelProperty("清空的会话id缓存列表")
    private List<String> clearChatIdList;

}
